import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)
// 0、其他 1、jquery 2、javascript 3、vue 4、uniapp
const routes = [
    {
        path: '/',
        component: () => import(/* webpackChunkName: "Dashboard" */ '../views/Dashboard.vue')
    }, {
        path: '/dashboard',
        name: 'Dashboard',
        component: () => import(/* webpackChunkName: "Dashboard" */ '../views/Dashboard.vue')
    }, {
        path: '/jquery/one',
        name: 'JQueryOneClassify',
        meta: { type_id: 1, classifyListId: 1 },
        component: () => import(/* webpackChunkName: "OneClassify" */ '../views/OneClassify.vue')
    }, {
        path: '/jquery/two',
        name: 'JQueryTwoClassify',
        meta: { type_id: 1, classifyListId: 2 },
        component: () => import(/* webpackChunkName: "TwoClassify" */ '../views/TwoClassify.vue')
    }, {
        path: '/jquery/three',
        name: 'JQueryThreeClassify',
        meta: { type_id: 1, classifyListId: 3 },
        component: () => import(/* webpackChunkName: "ThreeClassify" */ '../views/ThreeClassify.vue')
    }, {
        path: '/javaScript/one',
        name: 'JavaScriptOneClassify',
        meta: { type_id: 2, classifyListId: 1 },
        component: () => import(/* webpackChunkName: "OneClassify" */ '../views/OneClassify.vue')
    }, {
        path: '/javaScript/two',
        name: 'JavaScriptTwoClassify',
        meta: { type_id: 2, classifyListId: 2 },
        component: () => import(/* webpackChunkName: "TwoClassify" */ '../views/TwoClassify.vue')
    }, {
        path: '/javaScript/three',
        name: 'JavaScriptThreeClassify',
        meta: { type_id: 2, classifyListId: 3 },
        component: () => import(/* webpackChunkName: "ThreeClassify" */ '../views/ThreeClassify.vue')
    }, {
        path: '/note',
        name: 'note',
        component: () => import(/* webpackChunkName: "note" */ '../views/Note.vue')
    }, {
        path: '/test',
        name: 'test',
        component: () => import(/* webpackChunkName: "Test" */ '../views/Test.vue')
    }
]



const router = new VueRouter({
    routes
})


export default router
